# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=py3-cached-property
pkgver=1.5.2
pkgrel=2
pkgdesc="Decorator for caching properties in classes"
url="https://github.com/pydanny/cached-property"
arch="noarch"
license="BSD-3-Clause"
depends="python3"
makedepends="python3-dev"
source="https://pypi.io/packages/source/c/cached-property/cached-property-$pkgver.tar.gz"
builddir="$srcdir/cached-property-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="626d98a8891a70d858269859cf4e49416464c836d073c1331c21033a4cd9e0e47dc89b53bf393375439992f4993972517dc3cdcbb2cc6f8286f282d3c973e600  cached-property-1.5.2.tar.gz"
